Piwik\Plugins\Goals\API C

Total Complexity 107
Dependencies 32
Dependents 3
Total lines 635
Lines of code 403
Logical lines of code 274
Comment lines 187
Methods 34
Properties 0

Methods 34

Method Rating Maintainability Complexity Lines of code
getMetrics()
C
34 26 85
enrichItemsTableWithViewMetrics()
A
48 10 30
getItems()
A
47 7 35
get()
S
46 6 33
enrichItemsDataTableWithItemsViewMetrics()
S
54 7 18
checkPatternIsValid()
S
62 6 9
getGoals()
S
56 4 18
renameNotDefinedRow()
S
61 4 12
checkPatternType()
S
60 3 14
checkPattern()
S
68 3 6
convertSpecialGoalIds()
S
66 3 9
checkEventValueAsRevenue()
S
72 3 5
formatGoal()
S
62 2 12
getGoalSpecificDataTable()
S
64 2 8
getGoal()
S
68 2 7
addGoal()
S
57 1 15
updateGoal()
S
57 1 15
getDaysToConversion()
S
67 1 6
getNbVisitsConverted()
S
76 1 3
getVisitsUntilConversion()
S
67 1 6
getRevenue()
S
76 1 3
getCacheId()
S
79 1 3
getConversionRate()
S
71 1 5
getItemsName()
S
71 1 5
getConversions()
S
76 1 3
getNumeric()
S
70 1 6
appendSegment()
S
79 1 3
getItemsCategory()
S
71 1 5
getItemsSku()
S
71 1 5
deleteGoal()
S
69 1 7
checkDescription()
S
80 1 3
checkName()
S
80 1 3
getModel()
S
78 1 3
getGoalsInfoStaticCache()
S
81 1 3